package com.kangyi.app.mapper;

import com.github.pagehelper.Page;
import com.kangyi.app.annotation.AutoFill;
import com.kangyi.dto.UserPageDTO;
import com.kangyi.entity.UserComplaint;
import com.kangyi.enumeration.OperationType;
import com.kangyi.vo.FeedBackVO;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author Blank
 * @version 1.0
 */
@Mapper
public interface FeedbackMapper {


    @AutoFill(value = OperationType.INSERT)
    void submit(UserComplaint build);

    Page<FeedBackVO> list(UserPageDTO userPageDTO);
}
